#include <REGX52.H>
#include "mdelay.h"
#include "uart.h"
unsigned char mes=0;


void main()
{
	uart_init();
	
	while(1)
	{
			Delay1ms(1);
			buf_send(mes++);	
	}
}